-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Babel for react-dev-utils #2755
Conversation
I'm lost on how to make lerna works when there's a build dependency between packages -.-' will sleep on it... |
Ready for review 👍 |
.eslintignore
Outdated
@@ -3,3 +3,22 @@ build | |||
my-app* | |||
packages/react-scripts/template | |||
packages/react-scripts/fixtures | |||
packages/react-dev-utils/FileSizeReporter.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems unfortunate. Can we just ignore every file in the root folder?
packages/react-dev-utils/.gitignore
Outdated
@@ -0,0 +1,19 @@ | |||
/FileSizeReporter.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, I'd prefer we just ignore all JS files in the root folder.
I forgot we can do wildcard for ignoring files 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Somehow, Travis is hanging on node 8's kitchensink. Maybe need a restart? |
bdbb216
to
2237356
Compare
@gaearon rebased, anything more to get this merged? |
@@ -3,3 +3,4 @@ build | |||
my-app* | |||
packages/react-scripts/template | |||
packages/react-scripts/fixtures | |||
packages/react-dev-utils/*.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No newline here. Is it intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1 @@ | |||
/*.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No newline here. Is it intended? [2]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2237356
to
0aff591
Compare
972cddb
to
7c3875e
Compare
seems like related to http://codetunnel.io/npm-5-changes-to-npm-link/ |
Do we need to switch away from npm@5 for CI? |
2816dc1
to
f36b6e6
Compare
f36b6e6
to
987bb57
Compare
987bb57
to
ea843fc
Compare
ca4de75
to
1462aa1
Compare
1462aa1
to
7ae04c4
Compare
remove build artifacts move babel-cli babel-preset-react-app and cross-env to devDependencies remove unused deps
7ae04c4
to
f18b828
Compare
It would be nice to merge this, it holds several other important issues |
@andriy-f which issues? |
I’m not 100% convinced we need to increase complexity here because we can tell users Node 8 is required, figure out our |
Yea, the idea is for this PR is that we want to extract service worker code to react-dev-utils, but I see what you mean. |
In response to #2638 (comment)